import $http from '@/common/api/request.js';
//获取用户所有地址
export function getUserAddressListByIdAPI(data) {
	return $http.get('/api/address/list',data)
}

//删除用户地址
export function deleteUserAddressByIdAPI(data) {
	return $http.post('/api/address/del',data)
}

//新增地址
export function postUserAddressAPI(data) {
	return $http.post('/api/address/add',data)
}

//修改地址
export function putUserAddressByIdAPI(data) {
	return $http.post('/api/address/edit',data)
}

export function getUserAddressByIdAPI(data) {
	return $http.get('/api/address/getInfo',data)
}
